/**
 * BaseController.java created by zhangzhidong 
 * at 下午4:09:13 2016年4月17日
 */
package controllers.wechatlab;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import controllers.BaseController;

/**
 * @author zhangzhidong
 *
 */

public class WechatBaseController extends BaseController {
	private static String JSESSIONID = "JSESSIONID";
	@RequestMapping("/paramsError.do")
	@ResponseBody
	public String paramsError(HttpServletRequest req, HttpServletResponse res) {
		return jsonDump(ParamsError);

	}
	
	protected String getUserDirectory(HttpServletRequest req) {
		return req.getSession().getId();
	}
	
	
}
